Graph Traversal and Linear Programs
ثبت نشده
چکیده
Besides breadth first search, which we saw in class in relation to Dijkstra’s algorithm, there is one other fundamental algorithm for searching a graph: depth first search. To better understand the need for these procedures, let us imagine the computer’s view of a graph that has been input into it, in the adjacency list representation. The computer’s view is fundamentally local to a specific vertex: it can examine each of the edges adjacent to a vertex in turn, by traversing its adjacency list; it can also mark vertices as visited. One way to think of these operations is to imagine exploring a dark maze with a flashlight and a piece of chalk. You are allowed to illuminate any corridor of the maze emanating from your current position, and you are also allowed to use the chalk to mark your current location in the maze as having been visited. The question is how to find your way around the maze.
منابع مشابه
On the Graph Traversal and Linear Binary-Chain Programs
Grahne et al. have presented a graph algorithm for evaluating a subset of recursive queries [14], [15]. This method consists of two phases. In the first phase, the method transforms a linear binary-chain program into a set of equations over expressions containing predicate symbols. In the second phase, a graph is constructed from the equations and the answers are produced by traversing the rele...
متن کاملApplying DEF/USE Information of Pointer Statements to Traversal-Pattern-Aware Pointer Analysis
Pointer analysis is essential for optimizing and parallelizing compilers. It examines pointer assignment statements and estimates pointer-induced aliases among pointer variables or possible shapes of dynamic recursive data structures. However, previously proposed techniques are not able to gather useful information or have to give up further optimizations when overall recursive data structures ...
متن کاملThe Random Traversal Technique for Parallel Evaluation of Functional Programs
Many functional programs contain significant amounts of natural parallelism, but taking advantage of this parallelism in a scalable way is difficult. Previous work on parallel evaluation of functional programs has focused on spawning evaluations in other threads. The threads must synchronize to notify other threads of work and perform load balancing. This synchronization is generally slow so th...
متن کاملGraph Traversal and Linear Programs
Besides breadth first search, which we saw in class in relation to Dijkstra’s algorithm, there is one other fundamental algorithm for searching a graph: depth first search. To better understand the need for these procedures, let us imagine the computer’s view of a graph that has been input into it, in the adjacency list representation. The computer’s view is fundamentally local to a specific ve...
متن کاملOptimization of Taxiway Traversal at Congested Airports
Airport runways and taxiways have been identified as a key source of system-wide congestion and delay in the over-strained commercial air traffic system. To combat this growing problem, we present a novel approach for taxiway scheduling and traversal. Aircraft must traverse a taxiway, represented by a graph, from gates to their respective runways and arrive at their scheduled times while adheri...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2016